package com.demon.auto.model.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

/**
 * 签到记录表
 *
 * @version 1.0
 * @author huangrz
 * @date 2025/02/13 14:22
 */
@Accessors(chain = true)
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SignRecordDto {

    /**
     * 主键
     */
    private Long id;
    /**
     * 客户端ID
     */
    private Long clientId;
    /**
     * 签到时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime signTime;
    /**
     * 状态码 (0-失败 1-成功)
     */
    private Integer statusCode;
    /**
     * 执行详情
     */
    private String detailInfo;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

}
